import { getRoleAll, getRoleAndPermission } from '@/api/roleApi'

const roleBusiness = {
  actions: {
    GetRoleAll () {
      return getRoleAll().then((response) => {
        return response
      }).catch(() => {
      }).finally(() => {
      })
    },
    GetRoleAndPermission () {
      return getRoleAndPermission().then((response) => {
        return response
      }).catch(() => {
      }).finally(() => {
      })
    }
  }
}
export default roleBusiness
